from django.conf.urls import patterns, url

from controlpanel import views

urlpatterns = patterns('',
    url(r'^$', views.index, name='index'),
    url(r'^form/(?P<obj_name>\w+)/$', views.new_form, name='new_form'),
    url(r'^form/(?P<obj_name>\w+)/(?P<obj_id>\d+)/$', views.form, name='form'),
)